﻿using MyDomain.Entity;

namespace MyDomain.Discuss
{
    /// <summary>
    /// 帖子详情
    /// </summary>
    public class Topics : BaseEntity<int>
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { set; get; }

        /// <summary>
        /// 类型
        /// 1 提问
        /// 2 分享
        /// 3 讨论
        /// 4 建议
        /// 5 公告
        /// 6 动态 
        /// 7 其他
        /// </summary>
        public int Type { set; get; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { set; get; }

        /// <summary>
        /// 是否完结
        /// 0 未完结
        /// 1 完结
        /// </summary>
        public int IsEnd { set; get; }

        /// <summary>
        /// 积分
        /// </summary>
        public int Points { set; get; }

        /// <summary>
        /// 回复量
        /// </summary>
        public int ReplyTotal { set; get; }

        /// <summary>
        /// 浏览量
        /// </summary>
        public int PageViewTotal { set; get; }

        /// <summary>
        /// 置顶
        /// 0 未置顶
        /// 1 已置顶
        /// </summary>
        public bool IsTop { set; get; }

        /// <summary>
        /// 加精
        /// 0 未加精
        /// 1 已加精
        /// </summary>
        public bool IsElite { set; get; }

        /// <summary>
        /// 禁止回复
        /// 0 不禁止
        /// 1 禁止
        /// </summary>
        public bool NoReply { set; get; }

        /// <summary>
        /// 审核状态
        /// 0 未审核
        /// 1 审核通过
        ///-1 审核不通过
        /// </summary>
        public int ChechStatus { set; get; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { set; get; }
    }
}